home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
OWLINC.PAK
/
RADIOBUT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-06
|
2KB
|
67 lines
//----------------------------------------------------------------------------
// ObjectWindows
// Copyright (c) 1991, 1997 by Borland International, All Rights Reserved
//
//$Revision: 10.3 $
//
// Definition of class TRadioButton. This defines the basic behavior for all
// radio buttons.
//----------------------------------------------------------------------------
#if !defined(OWL_RADIOBUT_H)
#define OWL_RADIOBUT_H
#if !defined(OWL_CHECKBOX_H)
# include <owl/checkbox.h>
#endif
#if defined(BI_NAMESPACE)
namespace OWL {
#endif
// Generic definitions/compiler options (eg. alignment) preceeding the
// definition of classes
#include <services/preclass.h>
//
// class TRadioButton
// ~~~~~ ~~~~~~~~~~~~
class _OWLCLASS TRadioButton : public TCheckBox {
public:
TRadioButton(TWindow* parent,
int id,
const char far* title,
int x, int y, int w, int h,
TGroupBox* group = 0,
TModule* module = 0);
TRadioButton(TWindow* parent,
int resourceId,
TGroupBox* group = 0,
TModule* module = 0);
protected:
// Child id notification handled at the child
//
void BNClicked(); // BN_CLICKED
char far* GetClassName();
private:
// Hidden to prevent accidental copying or assignment
//
TRadioButton(const TRadioButton&);
TRadioButton& operator=(const TRadioButton&);
DECLARE_RESPONSE_TABLE(TRadioButton);
DECLARE_STREAMABLE(_OWLCLASS, TRadioButton, 1);
};
// Generic definitions/compiler options (eg. alignment) following the
// definition of classes
#include <services/posclass.h>
#if defined(BI_NAMESPACE)
} // namespace OWL
#endif
#endif // OWL_RADIOBUT_H